revdeck 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,16 @@ All notable changes to this project are documented here. The format is based on
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.2] - 2026-11-12
10
+
11
+ ### Fixed
12
+
13
+ - The daemon resolves `glab`/`gh` outside its own `PATH` (mise/asdf shims, `~/.local/bin`, Homebrew) and
14
+ accepts `REVDECK_GLAB`/`REVDECK_GH` overrides. `daemon install` captures the current PATH and resolved
15
+ binary paths in the systemd unit/launchd plist. A missing CLI now returns an install/PATH hint instead
16
+ of only `spawn glab ENOENT`; `doctor` prints the path resolved by the CLI and by the running daemon,
17
+ so a service with an outdated PATH is visible.
18
+
9
19
  ## [0.3.1] - 2026-11-12
10
20
 
11
21
  ### Fixed
package/README.md CHANGED
@@ -40,7 +40,9 @@ agent (MCP/CLI) ──unix socket──▶ revdeck daemon ──glab/gh──▶
40
40
  ## Install
41
41
 
42
42
  Requirements: Node.js ≥ 22.13 (Node 24 LTS recommended — `node:sqlite` is experimental in 22.x), `git`, and an authenticated platform CLI
43
- (`glab auth login` or `gh auth login`). revdeck never reads or stores their tokens.
43
+ (`glab auth login` or `gh auth login`). The CLI must be in the daemon's `PATH`; set `REVDECK_GLAB` or
44
+ `REVDECK_GH` to an absolute path if it lives in a mise/asdf/homebrew shim or a custom location. revdeck
45
+ never reads or stores their tokens.
44
46
 
45
47
  ```bash
46
48
  # one-off
@@ -68,6 +70,11 @@ untouched. It only shows the plan by default; add `--yes` to apply (`--keep-conf
68
70
  `.revdeck.yml`). Auto-start on login: `revdeck daemon install` (systemd user unit on Linux, launchd
69
71
  plist on macOS). Use a global install for this — an `npx` cache path can be evicted.
70
72
 
73
+ If `glab` works in the shell but the UI refresh fails with `spawn glab ENOENT`, the daemon has a
74
+ different `PATH` (systemd/launchd often do). Run `revdeck doctor`; it shows the path resolved by the
75
+ running daemon. Set `REVDECK_GLAB=/absolute/path/to/glab` (or `REVDECK_GH`), or reinstall the service
76
+ with `revdeck daemon install` so it captures the current `PATH`, then restart the daemon.
77
+
71
78
  ## Languages
72
79
 
73
80
  The product is bilingual (Russian and English), and the two languages are independent:
package/README.ru.md CHANGED
@@ -37,7 +37,9 @@ npx revdeck@latest init
37
37
  ```
38
38
 
39
39
  Требования: Node.js ≥ 22.13 (рекомендуется Node 24 LTS: в 22.x `node:sqlite` экспериментален), `git`, для GitLab — `glab` с выполненным `glab auth login`, для
40
- GitHub — `gh` с `gh auth login`. Токены revdeck не читает и не хранит.
40
+ GitHub — `gh` с `gh auth login`. CLI должен быть в `PATH` демона; если это mise/asdf/homebrew shim или
41
+ нестандартное место, задайте `REVDECK_GLAB` или `REVDECK_GH` с абсолютным путём. Токены revdeck не
42
+ читает и не хранит.
41
43
 
42
44
  В проекте:
43
45
 
@@ -57,6 +59,11 @@ revdeck ui # ссылка на локальный интерфейс
57
59
  (Linux) или launchd plist (macOS) и печатает команду включения. Для автозапуска ставьте пакет глобально:
58
60
  путь в кеше `npx` может быть очищен.
59
61
 
62
+ Если `glab` работает в шелле, а обновление в UI падает с `spawn glab ENOENT`, у демона другой `PATH`
63
+ (так часто бывает у systemd/launchd). Запустите `revdeck doctor`: он покажет путь, который видит
64
+ работающий демон. Задайте `REVDECK_GLAB=/абсолютный/путь/glab` (или `REVDECK_GH`) либо переустановите
65
+ сервис через `revdeck daemon install`, чтобы он сохранил текущий `PATH`, и перезапустите демон.
66
+
60
67
  ## Языки
61
68
 
62
69
  Продукт двуязычный (русский и английский), причём языки независимы: